package com.xin.di.uav.operate.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xin.di.uav.operate.po.PlacementPoint;
import com.xin.di.uav.common.request.operate.PlacementPointReq;
import com.xin.di.uav.common.response.operational.PlacementPointRes;
import com.xin.di.uav.common.utils.RespJsonPageData;
import com.xin.di.uav.common.utils.Rs;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author LTQ
 * @since 2023-12-07
 */
public interface IPlacementPointService extends IService<PlacementPoint> {
    /**
     * 分页查询投放点
     * @param placementPointReq
     * @return
     */
    RespJsonPageData<PlacementPointRes> getPagePlacementPoint(PlacementPointReq placementPointReq);

    /**
     * 新增投放点
     * @param placementPointReq
     * @return
     */
    Rs<Integer> addPlacementPoint(PlacementPointReq placementPointReq);
    /**
     * 修改投放点
     * @param placementPointReq
     * @return
     */
    Rs<Integer> updateById(PlacementPointReq placementPointReq);
    /**
     * 删除投放点
     * @param placementPointReq
     * @return
     */
    Rs<Integer> deletedPlacementPoint(PlacementPointReq placementPointReq);
    /**
     * 通过id查询
     * @param id
     * @return
     */
    PlacementPoint selectById(String id);
}
